package com.glasses.abc.view;

import javax.faces.bean.ManagedBean;

/**
 *
 * @author Jean-Luc Burot
 * @since 2014-10-17
 */
@ManagedBean
public class Index2Service {
    private boolean loadHome;
    private boolean loadReport;
    
    public boolean getLoadHome() {
        System.out.println("getLoadHome() = " + loadHome);
        return loadHome;
    }
    
    public boolean getLoadReport() {
        System.out.println("getLoadReport() = " + loadReport);
        return loadReport;
    }
    
    public void setToHome() {
        System.out.println("setLoadHome()");
        this.loadHome = true;
        this.loadReport = false;
    }
    
    public void setToReport() {
        System.out.println("setLoadReport()");
        this.loadHome = false;
        this.loadReport = true;
    }
}
